package com.lanyan.system.domain.vo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.lanyan.common.annotation.RequiredField;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lanyan.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.lanyan.common.core.domain.BaseEntity;

/**
 * 规格Vo对象 sku
 *
 * @author lanyan
 * @date 2024-11-26
 */
@Data
public class SkuVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(value = "sku_id", type = IdType.AUTO)
    @RequiredField(update = true,delete = true)
    private Long skuId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 所属商品 */
    @Excel(name = "所属商品")
    @ApiModelProperty("所属商品")
    private Long productId;

    /** 所属规格名 */
    @Excel(name = "所属规格名")
    @ApiModelProperty("所属规格名")
    private Long skuNameId;

    /** 所属规格值 */
    @Excel(name = "所属规格值")
    @ApiModelProperty("所属规格值")
    private Long skvValueId;

    /** 规格图片 */
    @Excel(name = "规格图片")
    @ApiModelProperty("规格图片")
    private String image;

    /** 全称 */
    @Excel(name = "全称")
    @ApiModelProperty("全称")
    private String fullName;

    /** 划线价格 */
    @Excel(name = "划线价格")
    @ApiModelProperty("划线价格")
    private BigDecimal marketPrice;

    /** 一口价 */
    @Excel(name = "一口价")
    @ApiModelProperty("一口价")
    private BigDecimal price;

    /** 真实成本 */
    @Excel(name = "真实成本")
    @ApiModelProperty("真实成本")
    private BigDecimal cost;

    /** 库存 */
    @Excel(name = "库存")
    @ApiModelProperty("库存")
    private Long stock;

    /** 体积 */
    @Excel(name = "体积")
    @ApiModelProperty("体积")
    private Long volume;

    /** 重量 */
    @Excel(name = "重量")
    @ApiModelProperty("重量")
    private Long weight;

    /** 匹配 */
    @Excel(name = "匹配")
    @ApiModelProperty("匹配")
    private String mate;


}
